﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
namespace Component
{
    public class byWebString
    {
       
        public const string _pnAjaxIntroduction = "gt";
        public const string _pnAjaxHome = "tc";
        public const string _pnAjaxNew = "tt";
        public const string _pnAjaxEvent = "ev";
        public const string _pnAjaxService = "dv";
        public const string _pnAjaxProduct = "sp";
        public const string _pnAjaxSearch = "search";
        const string _rootAjaxpn = "";

        public static string NameFolder
        {
            get { return Config.GetStrFromWebConfig("phanan"); }
        }

        public static string _pnAjaxPathProduct = _rootAjaxpn + "product/product1/ProductList.ascx";
        public static string _pnAjaxPathIntro = _rootAjaxpn + "introduction/Introduction.ascx";
        public static string _pnAjaxPathEvent = _rootAjaxpn + "new/new1/Event.ascx";
        public static string _pnAjaxPathService = "new/new1/Service.ascx";
       
        #region --------------- path webcontrol frontend ---------------------       
        //------------------------ laptop PN------------------------------------------------------------------
        static string _rootPn = "./../../../";
        public static string _pnpathProduct = _rootPn + "product/product1/ProductList.ascx";
        public static string _pnpathProductDetail = _rootPn + "product/product1/ProductDetail.ascx";
        public static string _pnpathIntro = _rootPn + "introduction/Introduction.ascx";
        public static string _pnpathNewsList = _rootPn + "new/new1/NewsList.ascx";
        public static string _pnpathNewsHome = _rootPn + "new/new1/NewsHome.ascx";
        public static string _pnpathSearch = _rootPn + "search/search1/search.ascx";
        public static string _pnpathDetailS = _rootPn + "product/product1/ProductDetail.ascx";
        public static string _pnpathContact = _rootPn + "Contact/Contact.ascx";
        public static string _pnpathDetailNew = _rootPn + "new/new1/NewDetail.ascx";
        //------------------------------------- the end--------------------------------------------
        #endregion
        #region------------------- Path  webcontrol admin ------------------------

        public static string ServiceBackEndL = BackEndPath._Root + "/ServiceList.ascx";
        public static string ServiceBackEndM = BackEndPath._Root + "/ServiceModify.ascx";
        public static string NewBackEndL = BackEndPath._Root + "/NewsList.ascx";
        public static string NewBackEndM = BackEndPath._Root + "/NewsModify.ascx";
        public static string IntroPath = BackEndPath._Root + "/Introduction.ascx";
        public static string IntroductionImgPath = BackEndPath._Root + "/IntroductionImg.ascx";
        public static string _PathAdminServiceTrans = BackEndPath._Root + "/ServiceTransport.ascx";
        public static string _PathHelp = "Help/Help.ascx";
        public static string _PathAdvertisementL = BackEndPath._Root + "/advertise/AdvetisementList.ascx";
        public static string _PathAdvertisementM = BackEndPath._Root + "/advertise/AdvertisementModify.ascx";
        public static string _PathAdvertisementIng = BackEndPath._Root + "/advertise/AdvertisementImage.ascx";
        public static string GalleryPath = BackEndPath._Root + "/Gallery.ascx";
        public static string CartDetailBackEndL = BackEndPath._Root + "/CartDetail.ascx";
        #endregion
        
        #region ------------------ Path File----------------------------------
        public static string _PathFileGallery = "FileUpload//Gallery";
        public static string _PathFileIntroductionImg = "FileUpload//SlideShowIntroduction";
        public static string _PathFileProductSmallImg = "FileUpload//ProductSmallImg";
        public static string _PathFileProductBigImg = "FileUpload//ProductBigImg";
        public static string _PathFileNewImg = "FileUpload//New";
        public static string _PathFileProductImg = "FileUpload//Product";
        public static string _PathFileServiceImg = "FileUpload//Service";
        #endregion
        
    }
}
